def println_with_ch_around(msg,ch:str="+",ch_repeat_time=20):
    tmp=ch*ch_repeat_time
    print("{around} {msg} {around}".format(msg=msg,around=tmp))

def merge_lines(*string_ls:list):
    return " ".join(string_ls)

def hex_add_0x(hex_str:str):
    if hex_str.startswith("0x"):
        return hex_str
    else:
        return "0x"+hex_str

def hex_remove_0x(hex_str:str):
    if hex_str.startswith("0x"):
        return hex_str[2:]
    else:
        return hex_str